package com.sina.weibo;

import java.io.Serializable;
import sudroid.HashCodeBuilder;

final class LocationHolder
  implements Serializable
{
  private static final long serialVersionUID = -8205421689204807445L;
  double lat;
  double lon;

  private boolean isIllegle(double paramDouble)
  {
    if ((paramDouble > 1.0D) || (paramDouble < -1.0D));
    for (int i = 1; ; i = 0)
      return i;
  }

  public boolean equals(Object paramObject)
  {
    int i;
    if (paramObject == null)
      i = 0;
    while (true)
    {
      return i;
      if (paramObject == this)
      {
        i = 1;
        continue;
      }
      Class localClass1 = paramObject.getClass();
      Class localClass2 = getClass();
      if (localClass1 == localClass2)
      {
        LocationHolder localLocationHolder = (LocationHolder)paramObject;
        double d1 = localLocationHolder.lat;
        double d2 = this.lat;
        if (Math.abs(d1 - d2) < 0.001D)
        {
          double d3 = localLocationHolder.lon;
          double d4 = this.lon;
          if (Math.abs(d3 - d4) < 0.001D)
          {
            i = 1;
            continue;
          }
        }
      }
      i = 0;
    }
  }

  public int hashCode()
  {
    HashCodeBuilder localHashCodeBuilder1 = new HashCodeBuilder();
    double d1 = this.lat;
    HashCodeBuilder localHashCodeBuilder2 = localHashCodeBuilder1.append(d1);
    double d2 = this.lon;
    HashCodeBuilder localHashCodeBuilder3 = localHashCodeBuilder2.append(d2);
    return localHashCodeBuilder1.toHashCode();
  }

  boolean isUseful()
  {
    double d1 = this.lat;
    if (isIllegle(d1))
    {
      double d2 = this.lon;
      if (!isIllegle(d2));
    }
    for (int i = 1; ; i = 0)
      return i;
  }

  public String toString()
  {
    StringBuilder localStringBuilder1 = new StringBuilder(">>>>>>>>>> LocationHolder <<<<<<<<<<\tlat:");
    double d1 = this.lat;
    StringBuilder localStringBuilder2 = localStringBuilder1.append(d1).append("\tlon:");
    double d2 = this.lon;
    return d2;
  }
}

/* Location:           D:\Program Files\eclipse\apktool-r01-3\新浪微博\classes.dex.dex2jar.jar
 * Qualified Name:     com.sina.weibo.LocationHolder
 * JD-Core Version:    0.6.0
 */